package org.scboy.coobi.caches;

import org.scboy.utils.caches.dbms.entity.SystemConfigEntity;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableCaching
public class GetSystemConfig {
	
	@Cacheable(value="DBMS_SYSCONFIG_CACHE",key="#code",unless="#result == null")
	public SystemConfigEntity getConfig(String code) {
		return null;
	}
}
